.class Lcom/waiqin365/h5/social/b;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/waiqin365/h5/social/WqSocialWithUrl;


# direct methods
.method constructor <init>(Lcom/waiqin365/h5/social/WqSocialWithUrl;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/h5/social/b;->a:Lcom/waiqin365/h5/social/WqSocialWithUrl;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    new-instance v0, Landroid/os/Message;

    invoke-direct {v0}, Landroid/os/Message;-><init>()V

    const/16 v1, 0x1234

    iput v1, v0, Landroid/os/Message;->what:I

    iget-object v1, p0, Lcom/waiqin365/h5/social/b;->a:Lcom/waiqin365/h5/social/WqSocialWithUrl;

    iget-object v1, v1, Lcom/waiqin365/h5/social/WqSocialWithUrl;->a:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    new-instance v1, Landroid/os/Bundle;

    invoke-direct {v1}, Landroid/os/Bundle;-><init>()V

    const-string/jumbo v2, "url"

    iget-object v3, p0, Lcom/waiqin365/h5/social/b;->a:Lcom/waiqin365/h5/social/WqSocialWithUrl;

    iget-object v3, v3, Lcom/waiqin365/h5/social/WqSocialWithUrl;->a:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string/jumbo v2, "title"

    iget-object v3, p0, Lcom/waiqin365/h5/social/b;->a:Lcom/waiqin365/h5/social/WqSocialWithUrl;

    iget-object v3, v3, Lcom/waiqin365/h5/social/WqSocialWithUrl;->b:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string/jumbo v2, "description"

    iget-object v3, p0, Lcom/waiqin365/h5/social/b;->a:Lcom/waiqin365/h5/social/WqSocialWithUrl;

    iget-object v3, v3, Lcom/waiqin365/h5/social/WqSocialWithUrl;->c:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string/jumbo v2, "imagePath"

    iget-object v3, p0, Lcom/waiqin365/h5/social/b;->a:Lcom/waiqin365/h5/social/WqSocialWithUrl;

    iget-object v3, v3, Lcom/waiqin365/h5/social/WqSocialWithUrl;->d:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    iput-object v1, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/h5/social/b;->a:Lcom/waiqin365/h5/social/WqSocialWithUrl;

    invoke-static {v1}, Lcom/waiqin365/h5/social/WqSocialWithUrl;->a(Lcom/waiqin365/h5/social/WqSocialWithUrl;)Lorg/apache/cordova/WqCordovaActivity;

    move-result-object v1

    iget-object v1, v1, Lorg/apache/cordova/WqCordovaActivity;->mHandler:Landroid/os/Handler;

    invoke-virtual {v1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    return-void
.end method
